package cn.edu.lingnan.pojo;

import cn.edu.lingnan.dao.StudentDao;

public class Student {
    private String sid;
    private String sname;
    private String password;
    private String sright;
    private String sflag;

    public String getSid() {
        return sid;
    }

    public String getSname() {
        return sname;
    }

    public String getPassword() {
        return password;
    }

    public String getSright() {
        return sright;
    }

    public String getSflag() {
        return sflag;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setSright(String sright) {
        this.sright = sright;
    }

    public void setSflag(String sflag) {
        this.sflag = sflag;
    }

    public Student(){

    }

    public Student(String sid, String sname, String password, String sright, String sflag) {
        this.sid = sid;
        this.sname = sname;
        this.password = password;
        this.sright = sright;
        this.sflag = sflag;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", sname='" + sname + '\'' +
                ", password='" + password + '\'' +
                ", sright='" + sright + '\'' +
                ", sflag='" + sflag + '\'' +
                '}';
    }


}
